﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>



<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
<%
    var srcPDF = Url.Action("Report");
 %>
 <iframe  id="printf" src='<%= srcPDF %>' height="700px" width="100%"></iframe>
</asp:Content>



<asp:Content ID="Content5" ContentPlaceHolderID="ScriptsSection" runat="server">
<script type="text/javascript">
    $(function () {
     document.getElementById("printf").contentWindow.print()​​​​​​;
    });
</script>
</asp:Content>
